package com.example.questionexam.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.questionexam.model.dto.exam.ExamQueryRequest;
import com.example.questionexam.model.entity.Exam;


/**
 * @author cola
 * @description 针对表【(tb_teacher)】的数据库操作Service
 * @createDate 2024-05-27 19:27:21
 */
public interface ExamService extends IService<Exam> {

    QueryWrapper<Exam> getQueryWrapper(ExamQueryRequest examQueryRequest);
    /**
     * 校验参数
     * @param exam
     * @param isAdd
     */
    void validExam(Exam exam, boolean isAdd);


}